﻿using System;
using System.Collections.Generic;
using Viettel.VOFFICE.DAO.Models;

namespace Viettel.VOFFICE.DAO.DAL.Repository
{
    /// <summary>
    /// lưu phiếu trình
    /// </summary>
    public class SubmissionRepository : IRepository<Submission>
 {
                private VOFFICEContext context;

                public SubmissionRepository(VOFFICEContext context)
        {
            if (context == null)
            {
                throw new Exception("Context must be init");
            }
            this.context = context;
        }
     public IEnumerable<Submission> Get()
     {
         throw new NotImplementedException();
     }

     public Submission GetById(object id)
     {
         throw new NotImplementedException();
     }

     public IEnumerable<Submission> FindByName(object s)
     {
         throw new NotImplementedException();
     }

     public void Insert(Submission T)
     {
         throw new NotImplementedException();
     }

     public void Delete(object id)
     {
         throw new NotImplementedException();
     }

     public void Delete(Submission T)
     {
         throw new NotImplementedException();
     }

     public void Update(Submission T)
     {
         throw new NotImplementedException();
     }

     public void Save()
     {
         context.SaveChanges();
     }
 }
}
